On 3/12/2024 8:57 AM, Max Chernoff wrote:
Hi all,
Often I want to include a sentence/paragraph in the middle of a long
multipart formula. With the old \startalign/\stopalign formulas, I could
use \intertext{...} to do this, but this doesn't work with the new
\alignhere/\breakhere formulas. I've
On 3/12/2024 8:57 AM, Max Chernoff wrote:
Hi all,
Often I want to include a sentence/paragraph in the middle of a long
multipart formula. With the old \startalign/\stopalign formulas, I could
use \intertext{...} to do this, but this doesn't work with the new
\alignhere/\breakhere formulas. I've
Hi all,
Often I want to include a sentence/paragraph in the middle of a long
multipart formula. With the old \startalign/\stopalign formulas, I could
use \intertext{...} to do this, but this doesn't work with the new
\alignhere/\breakhere formulas. I've managed to find a "sol
{bla
bla bla bla} \NR
\stopalignedcases
\stopformula
\stopplaceformula
\samplefile{knuthmath}
\startplaceformula
\startformula
\startalign[location=packed,n=2,m=2,align={1:right,2:left},fences=cases]
\NC u'(t) - \nabla \cdot
= 0 \NC \mtext{bla bla bla bla} \NR \stopalignedcases \stopformula\stopplaceformula\samplefile{knuthmath}\startplaceformula \startformula \startalign[location=packed,n=2,m=2,align={1:right,2:left},fences=cases] \NC u'(t) - \nabla \cdot (a(x)\nabla u) + Vu \NC = 0 \NC \NC \mtext{bla bla
lp me please?
>
>
> \starttyping
> 0! := 1
> (n + 1)! := (n + 1) n!
> \stoptyping
Or:
\startformula
\startalign[n=1,align={1:left}]
\NC 0! := 1\NR
\NC (n + 1)! := (n + 1) n!\NR
\stopalign
\stopformula
https://wiki.context
>
> I have this formular, but no idea , how to write it in Context. This is a
> formular with factorial.
>
>
> 0! := 1
> (n + 1)! := (n + 1) n!
>
> Can someone help me please?
\starttext
\startformula \startalign
\NC 0! \NC \colonequals 1 \NR
\NC (n+1)! \NC \co
> On 05/01/2024 14:27, Ursula Hermann wrote:
>
>> Can someone help me please?
>
>
> \starttyping
> 0! := 1
> (n + 1)! := (n + 1) n!
> \stoptyping
Or:
\startformula
\startalign[n=1,align={1:left}]
\NC 0! := 1\NR
\NC (n + 1)! := (n + 1) n!\NR
On Fri, 5 Jan 2024, Ursula Hermann wrote:
> Dear list,
>
>
> I have this formular, but no idea , how to write it in Context. This is a
> formular with factorial.
>
>
> 0! := 1
> (n + 1)! := (n + 1) n!
>
> Can someone help me please?
\starttext
\star
gt; A = B
> \stopformula
>
> vs
>
> \startformula \startalign
> \NC A \NC B \NR
> \NC A \NC B \NR
> \stopalign \stopformula
> \stoptext
>
> The first display formula is flush left, but the aligned formula is centered
> on the page. This appears to be a regression com
Hi,
The `align` parameter of `\setupformulas` is ignored in mathalign. Consider the
following MWE:
\setupformulas[align=flushleft,leftmargin=2em]
\starttext
\startformula
A = B
\stopformula
vs
\startformula \startalign
\NC A \NC B \NR
\NC A \NC B \NR
\stopalign \stopformula
\stoptext
; james-tanton-web}.
> \placeformula[eq:james-tanton-canvi-de-variables]
> \startformula
> \startalign
> \NC ax^2 + bx + c = 0 \NC \NR
> \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR
> \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR
> \NC x \left( x + \frac{
I have this text and the end of the paragraph:
Definitivament és el mètode més senzill. L'atribució més antiga que conec
d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau,
james-tanton-web}.
\placeformula[eq:james-tanton-canvi-de-variables]
\startformula
\startalign
\NC
Am Montag, 14. August 2023, 13:44:44 CEST schrieb Mikael Sundqvist:
> Hi,
>
> I do not understand what you want to have, so here is just something
> weird, but probably you look for simplealign.
>
> \definemathsimplealign
> [whatever]
>
> \starttext
> \startformu
Am Montag, 14. August 2023, 13:33:33 CEST schrieb Hans Hagen:
> On 8/14/2023 1:16 PM, Gerion Entrup wrote:
> > Hi,
> >
> > I try to typeset a nested align in a formula. However, the results looks
> > really wrong. Here is a MWE:
> >
> > ```
> > \st
Hi,
I do not understand what you want to have, so here is just something
weird, but probably you look for simplealign.
\definemathsimplealign
[whatever]
\starttext
\startformula
\startalign
\NC a = \NC (b, c) \quad \mtext{with}\NR
\NC \NC \startwhatever
\NC b \NC = something \NR
\NC c \NC
On 8/14/2023 1:16 PM, Gerion Entrup wrote:
Hi,
I try to typeset a nested align in a formula. However, the results looks
really wrong. Here is a MWE:
```
\starttext
\startformula
\startalign
\NC a = \NC (b, c) \quad \text{with}\NR
\NC \NC \startalign
Hi,
I try to typeset a nested align in a formula. However, the results looks
really wrong. Here is a MWE:
```
\starttext
\startformula
\startalign
\NC a = \NC (b, c) \quad \text{with}\NR
\NC \NC \startalign
\NC b \NC
fine.
> >
> > Since I usually use the following code that is adopted from My
> > Way(Mathalign.pdf), I’d like to know that there is a way to use
> > “\alignhere, \breakhere, \skiphere” for the case below?
> >
> > \startformula\startalign
> > \NC A \NC
df), I’d like to know that there is a way to use “\alignhere,
> \breakhere, \skiphere” for the case below?
>
> \startformula\startalign
> \NC A \NC = 3 \NR
> \NC B \NC = 5 \NR
> \stopalign\stopformula
The way I see it is that the current implementation is that it is way to break
a _
below?
\startformula\startalign
\NC A \NC = 3 \NR
\NC B \NC = 5 \NR
\stopalign\stopformula
Thank you.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki
C 4\NC 2\NR
> \stoppmatrix}\NR
> \stopmathalignment\stopformula
> \stoptext
>
> How can I achieve this?
>
> Jethro
Hi Jethro,
Temporary workaround: use the simplecommand.
\definemathmatrix[pmatrix][matrix:parentheses][
simplecommand=pmatrix,
]
\starttext
% \placeformula[
Hi!
I (presumably) found a bug in the recent math changes of the latest
upload. If a cell of the startalign environment is empty, something
internally to the macro seems to be breaking.
Minimal example:
\starttext
\startformula
\startalign
\NC \NC a \NR
\NC b \NC c \NR
\stopalign
doesn't span the entire text width.
Here is an example:
\starttext
\startformula
\startalign[m=3, n=1,distance=2em plus 1 fil]
\NC 1 \NC 2 \NC 3 \NR
\NC 4 \NC 5 \NC 6 \NR
\stopalign
\stopformula
\startformula
\mframed[frame=off,bottomframe=on,leftframe=on]{
\startalign[m=3, n=1,distance=2em plus
On Wed, May 25, 2022 at 5:35 AM Luis Montgomery via ntg-context
wrote:
>
> Same issue with
>
> \placeformula
> \startformula
> \startalign[number=auto]
> \NC A_1 x + B_1 y + C_1\NC = 0 \NR[+]
> \NC A_2 x + B_2 y + C_2\NC = 0 \NR[+]
> \stopalign
> \stopformula
>
&
Same issue with
\placeformula
\startformula
\startalign[number=auto]
\NC A_1 x + B_1 y + C_1\NC = 0 \NR[+]
\NC A_2 x + B_2 y + C_2\NC = 0 \NR[+]
\stopalign
\stopformula
and with all the wiki examples on \startmathalignment (
https://wiki.contextgarden.net/Command/_startmathalignment).
L
=(,right=),text=]
\def\eqref#1{\informula[eq:#1]}
\starttext
Using \type{\startmathfenced} and \type{\startalign} we can number each
equation, but the left brace is too far from the formula:
\startplaceformula
\startformula
\startmathfenced[cases]
\startalign[n=3,align={1:right,2:left,3:left}]
\NC
Dear Sylvain,
I am using ’\startalign’
>
> \starttext
> \startformula
> \eqalign{
> ax^2+bx+c &= 0 \cr
> x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr
> }
> \stopformula
> \stoptext
>
\starttext
\startformula
\startalign
\NC ax^2 + bx + c \NC = 0 \NR
\NC x \
if
the whole text is wrapped in {\em ...}, the text in the formulae are in
roman font. I've tried the following:
\starttext
{\em
\startformula \startalign[align=left]
\NC {\rm multiple words of text} \NR % Does not provide spacing
\NC \mathrm{multiple words of text} \NR % Does not provide spacing
\startalign
\NC A \NC = B\NR
\stopalign
\stopformula
\samplefile{knuth}
\startformula
\startalign
\NC A \NC = B
\stopalign
\stopformula
\samplefile{knuth}
\stoptext
___
If your question is of interest to others as well, please
Hi Aditya,
thank you very much, now I need to specify the alignment only for one "column"
and it gets applied for all of them. However, there is still the problem with
the standard setting of the alignment. For example,
\starttext
\startformula \startalign[m=2, align={right,left}]
On Fri, 1 Jan 2021, Hans Hagen wrote:
> On 1/1/2021 8:21 AM, Aditya Mahajan wrote:
> > \startformula \startalign[m=2,distance=8em,n=5,
> > align={right,middle,middle,middle,left, right,middle,middle,middle,left}]
> > \NC 0 \NC < \NC 2x + 5y \NC < \NC 10
> > \NC 4
On 1/1/2021 8:21 AM, Aditya Mahajan wrote:
\startformula \startalign[m=2,distance=8em,n=5,
align={right,middle,middle,middle,left, right,middle,middle,middle,left}]
\NC 0 \NC < \NC 2x + 5y \NC < \NC 10
\NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR
\NC 3 \NC < \NC 2y + 3z \NC < \NC 15
On Wed, 30 Dec 2020, Johann Birnick wrote:
> Okay, but I think it's a bug, because as you see in the linked pdf it worked
> the
> simple way some years ago...
Yes, something has changed internally. Earlier, if you used:
\startalign[align={right,left}, n=4]
...
\stopalign
then the
; \starttext
>
> \startformula \startalign[m=2,distance=8em,n=5,
> align={right,middle,middle,middle,left,right,middle,middle,middle,left}]
> \NC 0 \NC < \NC 2x + 5y \NC < \NC 10
> \NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR
> \NC 3 \NC < \NC 2y + 3z \NC < \NC 15
> \NC 10\NC <
One has to indicate the align pattern for all columns, otherwise it defaults to
left, it seems:
\starttext
\startformula \startalign[m=2,distance=8em,n=5,
align={right,middle,middle,middle,left,right,middle,middle,middle,left}]
\NC 0 \NC < \NC 2x + 5y \NC < \NC 10
\NC 4 \NC < \NC 3
n Birnick
> > > wrote:
> > >
> > > Hi there,
> > >
> > > I noticed that Math align is not working properly. In particular I mean
> > > the
> > > alignment. For example, the following code
> > >
> > >
> > > \starttext
owing code
\starttext
\startformula \startalign[m=2,distance=8em,n=5,
align={right,middle,middle,middle,left}]
\NC 0 \NC < \NC 2x + 5y \NC < \NC 10
\NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR
\NC 3 \NC < \NC 2y +
rticular I mean the
> > alignment. For example, the following code
> >
> >
> > \starttext
> >
> >
> > \startformula \startalign[m=2,distance=8em,n=5,
> > align={right,middle,middl
rticular I mean the
> alignment. For example, the following code
>
>
> \starttext
>
>
> \startformula \startalign[m=2,distance=8em,n=5,
> align={right,middle,middle,middle,left}]
> \NC 0 \NC < \NC 2x +
Hi there,
I noticed that Math align is not working properly. In particular I mean the
alignment. For example, the following code
\starttext
\startformula \startalign[m=2,distance=8em,n=5,
align={right,middle,middle,middle
a command that allows to write multiple lines under the command
> > \lim ?
> > I tried but ...
> > Cordially
> > Fabrice
> >
> > \starttext
> > \startformula
> >\lim_{
> > \vbox{\startalign
> >\NC x \to 2 \NR
> &
Fabrice Couvreur schrieb am 28.11.2020 um 15:57:
Hi,
Is there a command that allows to write multiple lines under the command
\lim ?
I tried but ...
Cordially
Fabrice
\starttext
\startformula
\lim_{
\vbox{\startalign
\NC x \to 2 \NR
\NC x > 2 \NR
\stopal
Hi,
Is there a command that allows to write multiple lines under the command
\lim ?
I tried but ...
Cordially
Fabrice
\starttext
\startformula
\lim_{
\vbox{\startalign
\NC x \to 2 \NR
\NC x > 2 \NR
\stopalign}}=+\infty
\stopformula
\stopt
typing, look into tab completion for your editor
> of choice. For example, in vim, I can do `for` which expands to
> `\startformula ... \stopformula` and `fora` expands to `\startformula
> \startalign ... \stopalign \stopformula`.
>
> > However, I need now to use ConTeXt for acc
can do `for` which expands to `\startformula ...
\stopformula` and `fora` expands to `\startformula \startalign ... \stopalign
\stopformula`.
However, I need now to use ConTeXt for accessibility tagging, so I'm
prepared to give it another try. And this means converting some LaTeX
documents
\input ward }
\copy0
wd0=\the\wd0, ht0=\the\ht0
\vskip12pt
\startalign[flushleft]
\setbox1=\vbox{\hsize=300pt\input ward }
\stopalign
\copy1
wd1=\the\wd1, ht1=\the\ht1
\stoptext
-
The .pdf-file is appended
When you need the height for the laye
wd0=\the\wd0, ht0=\the\ht0
\vskip12pt
\startalign[flushleft]
\setbox1=\vbox{\hsize=300pt\input ward }
\stopalign
\copy1
wd1=\the\wd1, ht1=\the\ht1
\stoptext
-
The .pdf-file is appended
Now to your proposal, Wolfgang:
>
> \starttexdefinition Nextb
aligned display mode
\startformula\startalign[m=2]
\NC 2^7 \equiv \qquad \NC \pmod {341}, \NC 14^7 \equiv \qquad \NC
\pmod {341}, \NR
\NC 11^7 \equiv \qquad \NC \pmod {341}, \NC 3^7 \equiv \qquad \NC \pmod
{341}, \NR
\stopalign\stopformula
\startformula\startalign[n=3
y
> (from http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip, a fresh
> install in the folder), and found some strange things with math:
>
> The file
>
> %%% EXAMPLE
> \starttext
> \startformula
> \startalign
> \NC \int e^{2x}\sin 3x\,dx\NC=\int\Im e^{(2+3i)x}\,dx\NR
Hi,
I hope this report is not a duplicate of another one. I updated lmtx today
(from http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip, a fresh
install in the folder), and found some strange things with math:
The file
%%% EXAMPLE
\starttext
\startformula
\startalign
\NC \int e^{2x
are saying in your message. But I don't know
what you are trying to achieve with two \startalign...\stopalign in the same
formula.
Best regards: OK
> On 6 Dec 2019, at 09:24, TeXnician wrote:
>
> Dear list,
>
> while doing some math typesetting, I have found the following feature
://tex.stackexchange.com/questions/518262/context-number-formulas-side-by-side
\placeformula
\startformulas
\startformula
\startalign[number=auto]
\NC a \NC= b \NR
\stopalign
\stopformula
\startformula
\startalign[number=auto]
\NC a \NC= b \NR
\stopalign
\stopformula
no...@posteo.org schrieb am 22.11.2019 um 09:04:
OK, thanks for the tip! It works indeed.
PS: There appears to be no mention of \startalign in the manual.
Which manual?
Is this going to be a stable interface?
Probably: http://dl.contextgarden.net/myway/mathalign.pdf
\eqalign, \eject used
Hi,
Indeed \startalign has been there from the beginning (as far as I can remember)
and it is stable.
In fact, as expalined by Aditya, you can define your own align environment, for
special purposes. for instance I have:
\definemathmatrix[alignedcases]
[align={right,left,left
OK, thanks for the tip! It works indeed.
PS: There appears to be no mention of \startalign in the manual. Is this going
to be a stable interface? \eqalign, \eject used to work in ConTeXt.
On November 20, 2019 11:41:09 AM UTC, Otared Kavian wrote:
>Hi,
>
>Indeed in ConTeXt one has bett
Hi,
Indeed in ConTeXt one has better to use \startalign. Please see the excellent
explanations by Aditya
http://dl.contextgarden.net/myway/mathalign.pdf
Best regards: OK
> On 20 Nov 2019, at 09:01, no...@posteo.org wrote:
>
> Dear All,
>
> The command \eqalig
ection[title=List of Tables]
\placelistoftables
\stopsection
\startsection[title=List of Symbols]
\placelistofsymbols
\stopsection
\stopfrontmatter
\startbodymatter
\startsection[title=Symbols]
\startsubsection[title=Using the Symbols]
\placeformula
\startsubformulas
\startformula
\startalign
\NC \frac{d
]
\definefontsize [e]
\definebodyfontenvironment [default] [e=3.5]
\starttext
\strut\vfill
\startalign[center]
{\tfe conText is fun}
\blank[10mm]
{\em ( ijver & vlijt 8+ )}
\stopalign
\vfill\strut
\stoptext
this is the old version
this is the new output
With osx preview? How small can you
=empty, no]
\setupbodyfontenvironment [default] [em=italic]
\definefontfamily [myfamily] [serif] [TeX Gyre Termes]
\setupbodyfont [myfamily, 10pt]
\definefontsize [e]
\definebodyfontenvironment [default] [e=3.5]
\starttext
\strut\vfill
\startalign[center]
{\tfe conText is fun}
\blank[10mm]
{\em
On Wed, 27 Mar 2019, Hans Hagen wrote:
On 3/27/2019 4:56 PM, Aditya Mahajan wrote:
Hi,
It was reported on TeX.SE[1] that there is a bug when math matrix is used
inside a math align:
\starttext
\startformula
\startalign[n=2,align={right,left}]
\NC x
\NC = a ~ long
On 3/27/2019 4:56 PM, Aditya Mahajan wrote:
Hi,
It was reported on TeX.SE[1] that there is a bug when math matrix is used
inside a math align:
\starttext
\startformula
\startalign[n=2,align={right,left}]
\NC x
\NC = a ~ long ~ sequence ~ of ~ terms
\NR
On 3/27/2019 4:56 PM, Aditya Mahajan wrote:
Hi,
It was reported on TeX.SE[1] that there is a bug when math matrix is used
inside a math align:
\starttext
\startformula
\startalign[n=2,align={right,left}]
\NC x
\NC = a ~ long ~ sequence ~ of ~ terms
\NR
Hi,
It was reported on TeX.SE[1] that there is a bug when math matrix is used
inside a math align:
\starttext
\startformula
\startalign[n=2,align={right,left}]
\NC x
\NC = a ~ long ~ sequence ~ of ~ terms
\NR
\NC y
\NC = ok ~ left
\NR
Hi Wolfgang and OK,
> What is the result you get with LaTeX?
>
>
>
> Is this what you are looking for?
>
This is the expected result, thank you.
Fabrice
Le sam. 5 janv. 2019 à 16:45, Otared Kavian a écrit :
> Hi Fabrice,
>
> I think you have to use
>
Hi Fabrice,
I think you have to use
\startalign[n=3,align={left,right}]
and finish the alignment with
\stopalign
Is this what you are looking for?
\starttext
\startformula
\startalign[n=3,align={left,right}]
\NC \qquad \NC\frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD
]
\starttext
\startformula
\startalign
\NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6 ₇ 7 ₈ 8 ₉ 9 ₊ + ₋ - ₌ = ₍ ( ₎
)\NR
\NC 푩⁰ 0 ¹ 1 ² 2 ³ 3 ⁴ 4 ⁵ 5 ⁶ 6 ⁷ 7 ⁸ 8 ⁹ 9 ⁺ + ⁻ - ⁼ = ⁽ ( ⁾
)\NR
\stopalign
\stopformula
\starttyping
푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6 ₇ 7 ₈ 8 ₉ 9
gns show up
> in the example below in the typing and text environments, though all correct
> in the formula environment.
>
>
> —
> \setupbodyfont[stix,10pt]
>
> \starttext
>
> \startformula
> \startalign
> \NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6 ₇ 7 ₈ 8 ₉
Only some of the Unicode subscript and superscript numbers and signs show up in
the example below in the typing and text environments, though all correct in
the formula environment.
—
\setupbodyfont[stix,10pt]
\starttext
\startformula
\startalign
\NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6
On Mon, Nov 26, 2018 at 8:40 AM adrien Licari
wrote:
> Hi everyone,
>
> I can't get cases subformula to work properly. My MWE, inspired from the
> wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is :
>
> \starttext\placeformula\startformula
>
Hi everyone,
I can't get cases subformula to work properly. My MWE, inspired from the
wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is :
\starttext\placeformula\startformula
\startcases
\NC x = a \NR[+]
\NC y = b \NR[+]
\stopcases\stopformul
Dear all,
Sometime ago, I asked about the splitting the long formula.
Since it is seldom to have a long formula, I manually break the formula using
\startformula\startalign
… formula
\stopalign\stopformula
\startformula\startalign
… formula
er simple proof that ends with a formula
\startformula
1+1=2.
\placeclosesymbol
\stopformula
\stopproof
\startproof
\startitemize[n]
\item first line.
\item Here is an example.
\startformula \cosh x + \sinh x = e^x,~~\cosh x - \sinh x = e^{-x}
\stopformula
The next formula is following:
Dear all,
Sometimes, I wrote a long formula using
\startformula\startalign … \stopalign\stopformula.
In that case, if the remaining space in the current page is not enough to
contain the formula, then it adds ‘page break’ and write the whole formula int
the new page.
I have read a discussion
I usually define my own reference formats, “ineq” for equations, “infig”
for figures:
\definereferenceformat[ineq][left=(,right=)]
\definereferenceformat[infig][left=\labeltext{figure}]
\starttext
\starttext
\placeformula
\startformula \startalign
\NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
\NC
Schuster
> 작성:
>
> When you look at the first example in section 4.1 you can see that the
> parentheses are inserted by hand.
>
> %%
> \starttext
>
> \placeformula
> \startformula \startalign
> \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
> \NC a_
When you look at the first example in section 4.1 you can see that the
parentheses are inserted by hand.
%%
\starttext
\placeformula
\startformula \startalign
\NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
\NC a_2 x + b_2 y \NC = c_2 \NR[eq:2]
\stopalign \stopformula
As seen from (\in[eq:1
]
\setupinteractionscreen[option=paper, copies=5]
\startbuffer[a]
\showframe
\setuppapersize[A5]
\setuppagenumbering[location=]
\setuplayout[width=middle]
\starttext
\mbox{}\vfill
\startalign[middle]
\dontleavehmode
\framedtext[width=10cm
}
\xmldoifelseempty{#1}{../pre[contains(@class,'fullwidth')]}
{\startalign[center]\dontleavehmode\typesetbuffer[whereever][width=.5\textwidth]\stopalign}
{\startalign[center]\dontleavehmode\typesetbuffer[whereever][width=\textwidth]\stopalign}
\stopxmlsetups
\starttext
\xmlprocessbuffer{main
OK—thanks for the mkiv alternative to \eqalign.
Alan
On Thu, Mar 1, 2018 at 2:36 PM, Otared Kavian <ota...@gmail.com> wrote:
> Hi Alan,
>
> I think in mkiv one is supposed to use rather the \startalign...\stopalign
> structure, as in the following:
>
> \starttext
>
&g
Hi Alan,
I think in mkiv one is supposed to use rather the \startalign...\stopalign
structure, as in the following:
\starttext
\startformula
\startalign
\NC t_{L,\text{early}} \NC = t_{L,\text{late}} = t_{L,\text{ray}} \NR
\NC\NC = 6\ \mu m \NR
\stopalign
\stopformula
\stoptext
Best regards
\startalign
\NC a =\NC b \NR
\NC c =\NC d \NR
\stopalign \stopformula
And stop.
\stoptext
Try something based on this:
\startluacode
userdata = userdata or { }
function userdata.wordcount(listname)
filename = file.addsuffix(tex.jobname,"
and
residuals $e_{jt}$ on the y-axis},
reference={fig:subject-residual}]
\externalfigure[residuals][height=.242\textheight]
\stopplacefigure
And some more text with $x$ and $y$ and $z$, and \placeformula
\startformula \startalign
\NC a =\NC b \NR
\NC c =\NC d \NR
\stopalign \stopformula
}
%~ \xmlsetsetup{#1}{{#header}}{xml:header:id}
\xmlsetsetup{#1}{{id="header"}}{xml:header:id}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:header
\start
mlsetsetup{#1}{{#header}}{xml:header:id}
\xmlsetsetup{#1}{{id="header"}}{xml:header:id}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:header
\startalign[left]\xmlflush{#1}\
\stopalignedcases
\stopformula
\startformula
\startalign[n=3,align={right,left,left}]
\NC \partial_{tt} u - \Delta u + q(x) u \NC = 0 \NC \quad\mbox{in }\;
(0,T)\times\Omega \NR
\NC - \Delta v \NC = q(x) \partial_{t}u \NC \quad\mbox{in }\; \Omega \NR
\stopalign
\stopformula
\startformula
\startalignedcases
lass,'sidebyside')]/p}
{xml:sidebyside}
\xmlsetsetup{\xmldocument}
{[contains(@class,'sidebyside')]/p/img}
{xml:image:sidebyside}
\startxmlsetups xml:sidebyside
\blank\startalign[center]
\dontleavehmode
\xmlflush{#1}
\stopalign\bla
olve it.
This is what I have in the XML file:
This is what I tried in the environment file:
\startxmlsetups xml:sidebyside
\blank\startalign[center]
\dontleavehmode
\externalfigure[\xmlattribute{#1}{./p/img}{src}]
[width=.5\textwid
On 8/6/2017 11:37 AM, Pablo Rodriguez wrote:
Dear list,
I have the following definition:
\startxmlsetups xml:image:sidebyside
\blank\startalign[center]
\dontleavehmode
\externalfigure[\xmlattribute{#1}{./p/img}{src}]
[width=.5\textwidth
Dear list,
I have the following definition:
\startxmlsetups xml:image:sidebyside
\blank\startalign[center]
\dontleavehmode
\externalfigure[\xmlattribute{#1}{./p/img}{src}]
[width=.5\textwidth]
%~ \xmlconcat{#1}{./p/img
ian
<ota...@gmail.com<mailto:ota...@gmail.com>> wrote:
It is better to use the construction such as:
\placeformula
\startformula
\startalign
\NC H(I,J) \NC = H(I) + H(J|I) \NR[eq:equivoc]
\NC W(I,J) \NC = H(J) - H(J|I) \NR[eq:wedinfo]
\stopalign
\stopformula
Below I illustrate why this
Hi Hans,
Since a few weeks (or months?…) ago the use of \eqno and \eqalignno has been
changed in mkiv.
It is better to use the construction such as:
\placeformula
\startformula
\startalign
\NC H(I,J) \NC = H(I) + H(J|I) \NR[eq:equivoc]
\NC W(I,J) \NC = H(J) - H(J|I) \NR[eq:wedinfo]
\stopalign
; >>> \stopproof
> >>>
> >>> \startproof
> >>> This is another short proof, ending with the formula
> >>> \startformula
> >>> 1+1=2.
> >>> \stopformula
> >>> \stopproof
> >>>
> >>> \startproof
>
>>
>>> \startproof
>>> This is a short proof.
>>> \stopproof
>>>
>>> \startproof
>>> This is another short proof, ending with the formula
>>> \startformula
>>> 1+1=2.
>>> \stopformula
>>> \
proof, ending with the formula
\startformula
1+1=2.\placeclosesymbol
\stopformula
\stopproof
\startproof
This is a rather advanced proof, ending with formulas
\startformula
\startalign
\NC 1+1 \NC = 2,\NR
\NC 2+2 \NC = 4.\NR
\stopalign
\stopformula
\stopproof
\startproof
This is a rather advanced
\stopproof
>>
>> \startproof
>> This is another short proof, ending with the formula
>> \startformula
>> 1+1=2.\placeclosesymbol
>> \stopformula
>> \stopproof
>>
>>
>>
>> \startproof
>> This is a rather advanced proof, ending wit
another short proof, ending with the formula
> \startformula
> 1+1=2.
> \stopformula
> \stopproof
>
> \startproof
> This is another short proof, ending with the formula
> \startformula
> 1+1=2.\placeclosesymbol
> \stopformula
> \stopproof
>
>
>
> \startproo
, ending with formulas
\startformula
\startalign
\NC 1+1 \NC = 2,\NR
\NC 2+2 \NC = 4.\NR
\stopalign
\stopformula
\stopproof
\startproof
This is a rather advanced proof, ending with formulas
\startformula
\startalign
\NC 1+1 \NC = 2,\NR
\NC 2+2 \NC = 4.\placeclosesymbol\NR
\stopalign
\stopformula
Dear list,
I have the following sample:
\setupinteraction[state=start, color=, style=, contrastcolor=]
\enabledirectives[references.border]
\startsetups[placelist:section]
\startalign[center]
\setupinterlinespace[line=2.8ex]
\placelist[section
nke <henrime...@gmail.com> wrote:
>>
>> Hi Jan,
>>
>> if I understood you correctly, this should produce what you are after.
>>
>> \starttext
>>
>> \startformula
>> E = mc^2
>> \stopformula
>>
>> \startformula
>>
1 - 100 of 494 matches
Mail list logo